package com.zmzncs.lmtc.module.promotion.pojo.month_rule_pull;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zmzncs.lmtc.common.pojo.enums.MonthNameEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 直联车场-月租规则
 * </p>
 *
 * @author 高博文
 * @since 2021-03-22
 */
@Data
public class MonthRulePullUpdateForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "停车场月租规则ID",required = true)
    @NotNull
    private Long pullId;

    @ApiModelProperty(value = "停车场ID",required = true)
    @NotNull
    private Long parkId;

    @ApiModelProperty(value = "规则Id")
    @NotNull
    private Long ruleId;

    @ApiModelProperty(value = "规则收费标准Id")
    @NotNull
    private Long feeScaleId;

    @ApiModelProperty(value = "月租天数",required = true)
    private Integer days;

    @ApiModelProperty(value = "月租编码")
    private Integer monthType;

    @ApiModelProperty(value = "月租类型名称")
    private String monthRentName;

    @ApiModelProperty(value = "源车场金额")
    private BigDecimal parkAmount;

    @ApiModelProperty(value = "平台月租金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "车场主端状态（1：开启，0：关闭）")
    @NotNull
    private Integer ownerStatus;

    @ApiModelProperty(value = "客户端状态（1：开启，0：关闭）")
    @NotNull
    private Integer clientStatus;

    @ApiModelProperty(value = "月租每天开始时间")
    @JsonFormat(pattern = "HH:mm",timezone="GMT+8")
    private Date beginTime;

    @ApiModelProperty(value = "月租每天结束时间")
    @JsonFormat(pattern = "HH:mm",timezone="GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "车场注册来源（1：泊链 2：咪网 ）")
    private Integer parkSource;

    @ApiModelProperty(value = "中萌停车场月租类型（81：全天年卡，83：全天季卡，84：全天月卡，85：白间月卡，86：夜间月卡）")
    private Integer uniformRentType;

}
